tests: Make stack expand
authorBenjamin Otte <otte@redhat.com>
Wed, 4 Nov 2015 18:10:16 +0000 (19:10 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 4 Nov 2015 18:39:29 +0000 (19:39 +0100)
This is to test invisible children are actually resized before they are
made visible (which they currrently are not.

tests/teststack.c

index 4cf6c07a7729c63e2ab4a39ba8251ed8eea5f0a6..07890e1bfd1d3c580a8e9f410a2bc0f1de7bd43f 100644 (file)
@@ -135,6 +135,7 @@ main (gint argc,
   gtk_stack_set_transition_duration (GTK_STACK (stack), 1500);
 
   gtk_widget_set_halign (stack, GTK_ALIGN_START);
+  gtk_widget_set_vexpand (stack, TRUE);
 
   /* Add sidebar before stack */
   sidebar = gtk_stack_sidebar_new ();